import request from '@/utils/request'

// 查询方法6预测列表
export function listSix(query) {
  return request({
    url: '/caipiao/six/list',
    method: 'get',
    params: query
  })
}

// 查询方法6预测详细
export function getSix(id) {
  return request({
    url: '/caipiao/six/' + id,
    method: 'get'
  })
}

// 新增方法6预测
export function addSix(data) {
  return request({
    url: '/caipiao/six',
    method: 'post',
    data: data
  })
}

// 修改方法6预测
export function updateSix(data) {
  return request({
    url: '/caipiao/six',
    method: 'put',
    data: data
  })
}

// 删除方法6预测
export function delSix(id) {
  return request({
    url: '/caipiao/six/' + id,
    method: 'delete'
  })
}

// 修改排列5方法预测
export function generateCode(data) {
  return request({
    url: '/caipiao/six/generateCode',
    method: 'get',
    params: data
  })
}
// 修改排列5方法预测
export function checkCode(data) {
  return request({
    url: '/caipiao/six/checkCode',
    method: 'get',
    params: data
  })
}
